#include"p.h"
#define NUM 101
void ProncessOn()
{
    int cnt=0;
    char bar[NUM];

    memset(bar,'\0',sizeof(bar));
    while(cnt<=100)
    {
        printf("[%-100s]%d%\r",bar,cnt);
        fflush(stdout);
        bar[cnt++]=STYLE;
        usleep(50000);       
    }
    printf("\n");
}
